-- card: 5541 from stack: in. Lab -- bmap block id: 5845 -- flags: 0000 -- background id: 2568 -- name: quiz ----- HyperTalk script ----- on opencard --show card field id 40 end opencard -- part 2 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=39 top=22 right=80 bottom=77 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: answerA ----- HyperTalk script ----- on mouseUp GLOBAL tb hide card field id 40 get the short name of the target put it into tb if card field tb <> empty then dim dimmer2 exit mouseup end if dimmer2 end mouseUp -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=39 top=81 right=139 bottom=77 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: answerb ----- HyperTalk script ----- on mouseUp GLOBAL tb get the short name of the target put it into tb if card field tb is not empty then dim dimmer2 exit mouseup end if dimmer2 end mouseUp -- part 4 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=39 top=143 right=201 bottom=77 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: answerC ----- HyperTalk script ----- on mouseUp GLOBAL tb get the short name of the target put it into tb if card field tb <> empty then dim dimmer2 exit mouseup end if dimmer2 end mouseUp -- part 5 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=39 top=203 right=261 bottom=77 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: answerD ----- HyperTalk script ----- on mouseup GLOBAL tb get the short name of the target put it into tb if card field tb <> empty then dim dimmer2 exit mouseup end if dimmer2 end mouseUp -- part 6 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=39 top=266 right=324 bottom=77 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: answerE ----- HyperTalk script ----- on mouseup GLOBAL tb get the short name of the target put it into tb if card field tb is not empty then dim dimmer2 exit mouseup end if dimmer2 end mouseUp -- part 12 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=80 top=45 right=69 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: ANSWERA -- part 13 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=79 top=104 right=128 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: ANSWERB -- part 14 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=80 top=166 right=189 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: ANSWERC -- part 15 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=80 top=227 right=251 bottom=241 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: ANSWERD -- part 16 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=80 top=288 right=310 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: ANSWERE -- part 17 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=35 right=53 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Hydrochloric Acid ----- HyperTalk script ----- on mouseUp global hold global tb hide card field id 40 if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 17 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 17 to false put empty into tb dimmer2 end mouseUp -- part 19 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=53 right=71 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Water ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 19 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 19 to false put empty into tb dimmer2 end mouseUp -- part 20 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=71 right=89 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Sodium Hydroxide ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 20 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 20 to false put empty into tb dimmer2 end mouseUp -- part 21 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=89 right=107 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Acetic Acid ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 21 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 21 to false put empty into tb dimmer2 end mouseUp -- part 22 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=109 right=127 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Ammonium Hydroxide ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 22 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 22 to false put empty into tb dimmer2 end mouseUp -- part 23 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=127 right=145 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Sodium Chloride ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 23 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 23 to false put empty into tb dimmer2 end mouseUp -- part 24 (button) -- low flags: 00 -- high flags: 0006 -- rect: left=250 top=146 right=164 bottom=489 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Sucrose ----- HyperTalk script ----- on mouseUp global hold global tb if tb = empty then show card field bottle wait 2 second hide card field bottle exit mouseup end if set the highlight of button id 24 to true get the short name of the target put it into hold put hold into card field tb wait 30 set the highlight of button id 24 to false put empty into tb dimmer2 end mouseUp -- part 26 (field) -- low flags: 81 -- high flags: 0002 -- rect: left=255 top=167 right=310 bottom=462 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 14 -- style flags: 256 -- line height: 18 -- part name: bottle -- part 27 (button) -- low flags: 00 -- high flags: A004 -- rect: left=448 top=1 right=25 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Clear ----- HyperTalk script ----- on mouseUp global tb global count1,count2 show card field id 40 put 12 into count1 put 17 into count2 put empty into tb dimmer3 dimmer4 set the name of card button id 33 to "Show Answers" put 34 into zz repeat until zz= 39 put empty into card field id zz add 1 to zz end repeat end mouseUp -- part 28 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=79 top=43 right=71 bottom=235 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp send mouseup to button "answerA" end mouseUp -- part 29 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=79 top=102 right=130 bottom=235 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp send mouseup to button "answerB" end mouseUp -- part 30 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=79 top=164 right=192 bottom=235 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp send mouseup to button "answerC" end mouseUp -- part 31 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=79 top=226 right=254 bottom=235 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp send mouseup to button "answerD" end mouseUp -- part 32 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=79 top=286 right=314 bottom=235 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp send mouseup to button "answerE" end mouseUp -- part 33 (button) -- low flags: 00 -- high flags: 8004 -- rect: left=241 top=312 right=341 bottom=353 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Show Answers ----- HyperTalk script ----- on mouseUp get the short name of the target if it ="Show Answers" then answer "Show all answers?" with "Cancel" or "OK" if it is "Cancel" then exit mouseup set the name of the target to "Hide Answers" put line 1 of bkgnd field 3 of card quiz1 into card field id 34 of card quiz put line 2 of bkgnd field 3 of card quiz1 into card field id 35 of card quiz put line 3 of bkgnd field 3 of card quiz1 into card field id 36 of card quiz put line 4 of bkgnd field 3 of card quiz1 into card field id 37 of card quiz put line 5 of bkgnd field 3 of card quiz1 into card field id 38 of card quiz else set the name of the target to "Show Answers" put 34 into zz repeat until zz= 39 put empty into card field id zz add 1 to zz end repeat end if end mouseUp -- part 34 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=80 top=68 right=92 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ANSWERAr -- part 35 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=79 top=127 right=151 bottom=239 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ANSWERBR -- part 36 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=80 top=188 right=212 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ANSWERCR -- part 37 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=80 top=250 right=274 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ANSWERDR -- part 38 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=80 top=309 right=333 bottom=240 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ANSWERER -- part 39 (button) -- low flags: 00 -- high flags: A004 -- rect: left=360 top=312 right=341 bottom=463 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Return to Lab ----- HyperTalk script ----- on mouseUp go to card quiz1 end mouseUp -- part 40 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=251 top=164 right=295 bottom=504 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 12 -- style flags: 256 -- line height: 16 -- part name: instruc ----- HyperTalk script ----- on mouseup hide card field id 40 end mouseup -- part 41 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=471 top=312 right=341 bottom=504 -- title width / last selected line: 0 -- icon id / first selected line: 32462 / 32462 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: help ----- HyperTalk script ----- on mouseUp global flag push card go to card "help1" end mouseUp -- part 43 (button) -- low flags: 00 -- high flags: 8000 -- rect: left=3 top=7 right=40 bottom=37 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: off ----- HyperTalk script ----- on mouseUp --global x get the short name of the target if it is "off" then set the name of the target to "on" put 48 into x repeat until x = 53 set the style of card button id x to transparent put x+1 into x end repeat else set the name of the target to "off" put 48 into x repeat until x = 53 set the style of card button id x to opaque put x+1 into x end repeat end if end mouseUp -- part 48 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=5 top=44 right=72 bottom=33 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: checka ----- HyperTalk script ----- on mouseUp if the short name of button id 43 is "on" then show card field id 34 put line 1 of bkgnd field 3 of card quiz1 into card field id 34 of card quiz wait 2 seconds put empty into card field id 34 end if end mouseUp -- part 49 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=5 top=105 right=133 bottom=33 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: checka ----- HyperTalk script ----- on mouseUp if the short name of button id 43 is "on" then show card field id 34 put line 2 of bkgnd field 3 of card quiz1 into card field id 35 of card quiz wait 2 seconds put empty into card field id 35 end if end mouseUp -- part 50 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=5 top=164 right=192 bottom=33 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: checka ----- HyperTalk script ----- on mouseUp if the short name of button id 43 is "on" then show card field id 34 put line 3 of bkgnd field 3 of card quiz1 into card field id 36 of card quiz wait 2 seconds put empty into card field id 36 end if end mouseUp -- part 51 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=5 top=226 right=254 bottom=33 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: checka ----- HyperTalk script ----- on mouseUp if the short name of button id 43 is "on" then show card field id 34 put line 4 of bkgnd field 3 of card quiz1 into card field id 37 of card quiz wait 2 seconds put empty into card field id 37 end if end mouseUp -- part 52 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=5 top=287 right=315 bottom=33 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: checka ----- HyperTalk script ----- on mouseUp if the short name of button id 43 is "on" then show card field id 34 put line 5 of bkgnd field 3 of card quiz1 into card field id 38 of card quiz wait 2 seconds put empty into card field id 38 end if end mouseUp -- part contents for card part 26 ----- text ----- Please select a reagent bottle (A-E), before selecting a solution. -- part contents for card part 40 ----- text ----- First click on a bottle (A-E), then click on a solution(1-7). To change your selection, click on the bottle again. To clear all answers, click on the "Clear" button.